package com.peng._04mybatis.mapper;

import com.peng._04mybatis.pojo.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 用户数据库操作mapper
 * @Author peng
 * @Date 2024-04-17 17:31
 */
@Mapper
public interface UserMapper {

//    @Insert("insert into user(id,username,password,nickname,created) " +
//            "values(#{id},#{username},#{password},#{nickname},#{created})")
    void insertUser(User user);
}
